package com.zyz.P_注解.demo1;

import java.util.ArrayList;

/**
 * @author: vick
 * @Date: 2025/4/17
 * @Description:
 * @version: 1.0
 */
public class Demo2 {
    @SuppressWarnings("all")
    public static void main(String[] args) {
        int i;
        ArrayList arrayList = new ArrayList();

        Demo2 demo2 = new Demo2();
        demo2.show();
    }

    @Deprecated
    public void show() {
        System.out.println("过时");
    }
}
class Father {
    void aa() {

    }
}

class Son extends Father {
    @Override
    void aa() {
        super.aa();
    }
}
